package com.example.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName IndexController
 * @Description TODO
 * @Author: XMK
 * @Date: 2020/4/15 18:09
 * @Version: 1.0
 */
@RestController
@RequestMapping("/")
public class IndexController {
    @GetMapping
    public String index() {
        return "ok";
    }
}
